package com.github.bitsapling.sapling.entity;

import java.io.Serializable;

/**
 * <p>
 * 社区版块表：记录社区拥有板块
 * </p>
 *
 */
public class Forum implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    /**
     * 版块名称
     */
    private String name;

    /**
     * 版块描述
     */
    private String description;

    /**
     * 创建者
     */
    private String createdBy;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    @Override
    public String toString() {
        return "Forum{" +
        "id = " + id +
        ", name = " + name +
        ", description = " + description +
        ", createdBy = " + createdBy +
        "}";
    }
}
